import request from '@/utils/request'

// 查询设备列表
export function listDeviceImportDetail(query) {
  return request({    url: '/erecord/deviceImportDetail/list',    method: 'get',    params: query  })
}

// 查询设备详细
export function getDeviceImportDetail(id) {
  return request({    url: '/erecord/deviceImportDetail/' + id,    method: 'get'  })
}

// 新增设备
export function addDeviceImportDetail(data) {
  return request({    url: '/erecord/deviceImportDetail',    method: 'post',    data: data  })
}

// 修改设备
export function updateDeviceImportDetail(data) {
  return request({    url: '/erecord/deviceImportDetail',    method: 'put',    data: data  })
}

// 删除设备
export function delDeviceImportDetail(id) {
  return request({    url: '/erecord/deviceImportDetail/' + id,    method: 'delete'  })
}
